package br.com.bus.management;

import java.util.ArrayList;
import java.util.List;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import br.com.bus.management.model.Abastecimento;
import br.com.bus.management.model.Onibus;

public class MainActivity extends Activity {
	
	static List<Onibus> onibus = new ArrayList<Onibus>();
	static List<Abastecimento> abastecimentos = new ArrayList<Abastecimento>();
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main_menu);
	}
	
	public void callControleCombustivelActivity(View v) {
		Intent i = new Intent(MainActivity.this, BusManagementActivity.class);
		startActivity(i);
	}
	
	public void callCadastrarOnibusActivity(View v) {
		Intent i = new Intent(MainActivity.this, NewBusActivity.class);
		startActivity(i);
	}
	
	public void callListChargerActivity(View v) {
		Intent i = new Intent(MainActivity.this, ListAllBusActivity.class);
		startActivity(i);
	}

}
